from PIL import Image, ImageFilter

im = Image.open("./image/向日葵.jpeg")
# 进行轮廓特效处理
filter_im = im.filter(ImageFilter.CONTOUR)
filter_im.save("./result/7.jpg")
# 模糊特效
filter_im = im.filter(ImageFilter.BLUR)
filter_im.save("./result/8.jpg")

# 细节特效
filter_im = im.filter(ImageFilter.DETAIL)
filter_im.save("./result/9.jpg")
